<template>
  <div>
    <p >{{ this.$route.query.id }}</p>
  </div>
</template>

<script setup>

import { onMounted } from 'vue';
import { useRouter } from 'vue-router';
const $router = useRouter();
onMounted(() => {
  // console.log('$router:', $router.currentRoute.value.params.caseId);
});

// import { useRoute } from "vue-router";

// const netType = $route.query.netType;
// console.log('netType',netType);

// import axios from "@/api/thisaxios.js";
// import { ref } from "vue";

// defineProps({
//   banners: {
//     required: true,
//   },
// });

// const getDetail = () => axios.get("detail?movieId="+you, {});

// const detail = ref([]);
// 
// async function update() {
//   const { data } = await getDetail();
//   detail.value = data;
//   console.log("detail", detail);
//   return detail;
// }
// update();

// const clickHandler = (you) => {
//   console.log(you);
//   return you
// };

</script>

<style lang="scss" scoped></style>
